<template>
  <div id="selector">
    <slot></slot>
  </div>
</template>

<script>
import seat from "./seat";
export default {
  name: "selector",
  props: {
    sorList: {
      type: Array,
    },
  },
  data() {
    return {
      curId: 0,
      className: "培训室",
      seatSizes: this.sorList,
      courseNameList: [
        "培训室",
        "培训室",
        "培训室",
        "培训室",
        "培训室",
        "培训室",
        "培训室",
        "培训室",
        "培训室",
        "培训室",
      ],
    };
  },

  // created() {
  //   console.log(this.seatSizes);
  //   //  this.seatSizes = this.sorList
  // },
  components: {
    seat,
  },
};
</script>

<!-- Add "scoped" attribute to limit CSS to this component only -->
<!-- 添加"scoper""属性能够限制 这个css指对当前组件生效 -->
<style scoped>

#selector {
  margin: 0 auto;
}
aside {
  position: fixed;
  left: 0;
  display: flex;
  justify-content: flex-start;
  align-items: flex-start;
  flex-wrap: wrap;
  width: 100px;
  margin-top: 60px;
}
aside button {
  width: 100px;
  height: 50px;
}

.cur {
  background: #0099ff;
  color: #ffffff;
}
.content {
  width: 1000px;
  margin: 0 auto;
}
</style>
